Skip to content

Commit

Permalink
Fix added ruby step
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Jan 9, 2025
1 parent 1645545 commit ced743e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions features/steps/ruby_notifier_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@
end

Then("in Rails versions {string} {int} except {int} the event {string} is a timestamp") do |operator, version, exception, path|
skip if RAILS_FIXTURE.version_matches?('==', exception)
if RAILS_FIXTURE.version_matches?(operator, version)
if RAILS_FIXTURE.version_matches?('==', exception)
true
elsif RAILS_FIXTURE.version_matches?(operator, version)
steps %Q{
And the event "#{path}" is a timestamp
}
Expand Down

0 comments on commit ced743e

Please sign in to comment.