mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
update cucumber step defs to rspec 3 assertion syntax.
This commit is contained in:
parent
fe1d9f8400
commit
68c49abf5d
8 changed files with 24 additions and 24 deletions
|
|
@ -3,7 +3,7 @@ When /^I create a widget using neo4j$/ do
|
|||
end
|
||||
|
||||
Then /^I should see ([\d]+) widget using neo4j$/ do |widget_count|
|
||||
Neo4jWidget.count.should == widget_count.to_i
|
||||
expect(Neo4jWidget.count).to eq widget_count.to_i
|
||||
end
|
||||
|
||||
When /^I create a widget in one db using neo4j$/ do
|
||||
|
|
@ -15,9 +15,9 @@ When /^I create a widget in another db using neo4j$/ do
|
|||
end
|
||||
|
||||
Then /^I should see ([\d]+) widget in one db using neo4j$/ do |widget_count|
|
||||
Neo4jWidgetUsingDatabaseOne.count.should == widget_count.to_i
|
||||
expect(Neo4jWidgetUsingDatabaseOne.count).to eq widget_count.to_i
|
||||
end
|
||||
|
||||
Then /^I should see ([\d]+) widget in another db using neo4j$/ do |widget_count|
|
||||
Neo4jWidgetUsingDatabaseTwo.count.should == widget_count.to_i
|
||||
expect(Neo4jWidgetUsingDatabaseTwo.count).to eq widget_count.to_i
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue