summaryrefslogtreecommitdiff
path: root/spec/features/triggers_spec.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-10 17:44:06 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 18:02:09 +0100
commit64bfd9d71a4017e0b5336a2c1565926f4b8beedd (patch)
tree8b7770af4cf0e54db3ada26550af9cbda4eabbb0 /spec/features/triggers_spec.rb
parent8cdd54cc0696b76daa2baf463d02d944b50bac6a (diff)
downloadgitlab-ce-64bfd9d71a4017e0b5336a2c1565926f4b8beedd.tar.gz
Remove ci_ prefix from all ci related things
Diffstat (limited to 'spec/features/triggers_spec.rb')
-rw-r--r--spec/features/triggers_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/triggers_spec.rb b/spec/features/triggers_spec.rb
index b0705a45aee..3cbc8253ad6 100644
--- a/spec/features/triggers_spec.rb
+++ b/spec/features/triggers_spec.rb
@@ -13,16 +13,16 @@ describe 'Triggers' do
context 'create a trigger' do
before do
click_on 'Add Trigger'
- expect(@project.ci_triggers.count).to eq(1)
+ expect(@project.triggers.count).to eq(1)
end
it 'contains trigger token' do
- expect(page).to have_content(@project.ci_triggers.first.token)
+ expect(page).to have_content(@project.triggers.first.token)
end
it 'revokes the trigger' do
click_on 'Revoke'
- expect(@project.ci_triggers.count).to eq(0)
+ expect(@project.triggers.count).to eq(0)
end
end
end