Commit 83b1c12ff42bce85e737f426c0a68442086e05ef
1 parent
794e9a6a
Exists in
colab
and in
4 other branches
Fixed wrong expectation syntax
Signed off by: Heitor Reis <marcheing@gmail.com>
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
features/step_definitions/reading_group_steps.rb
| ... | ... | @@ -61,7 +61,7 @@ Then(/^I should be in the Edit Reading Group page$/) do |
| 61 | 61 | end |
| 62 | 62 | |
| 63 | 63 | Then(/^the Sample Reading Group should not be there$/) do |
| 64 | - expects(@reading_group.attributes).to be_nil | |
| 64 | + expect(@reading_group.attributes).to be_nil | |
| 65 | 65 | expect { ReadingGroup.find(@reading_group.id) }.to raise_error |
| 66 | 66 | end |
| 67 | 67 | |
| ... | ... | @@ -89,4 +89,3 @@ Then(/^the private reading group should not be there$/) do |
| 89 | 89 | expect(page).to have_no_content(@private_rg.name) |
| 90 | 90 | expect(page).to have_no_content(@private_rg.description) |
| 91 | 91 | end |
| 92 | - | ... | ... |