diff options
Diffstat (limited to 'spec/features/triggers_spec.rb')
-rw-r--r-- | spec/features/triggers_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/triggers_spec.rb b/spec/features/triggers_spec.rb index 9a1bc77..b8f4616 100644 --- a/spec/features/triggers_spec.rb +++ b/spec/features/triggers_spec.rb @@ -11,7 +11,7 @@ describe 'Variables', feature: true do context 'create a trigger' do before do click_on 'Add Trigger' - @project.triggers.count.should eq 1 + expect(@project.triggers.count).to eq 1 end it 'contains trigger token' do @@ -20,7 +20,7 @@ describe 'Variables', feature: true do it 'revokes the trigger' do click_on 'Revoke' - @project.triggers.count.should eq 0 + expect(@project.triggers.count).to eq 0 end end end |