Commit d3c1bfbbf1506b02be970458d44f0894b212866f
1 parent
6d8fd953
Exists in
master
and in
20 other branches
rails4: fix cucumber deprecation warnings
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
features/step_definitions/activate_enterprise_steps.rb
... | ... | @@ -49,7 +49,7 @@ Given /^enterprise "([^\"]*)" is enabled$/ do |enterprise| |
49 | 49 | end |
50 | 50 | |
51 | 51 | Given /^enterprise "([^\"]*)" should be blocked$/ do |enterprise| |
52 | - Enterprise.find_by_name(enterprise).blocked?.should be_true | |
52 | + Enterprise.find_by_name(enterprise).blocked?.should be_true | |
53 | 53 | end |
54 | 54 | |
55 | 55 | Given /^enterprise "([^\"]*)" should not be blocked$/ do |enterprise| | ... | ... |
features/step_definitions/create_community_steps.rb
... | ... | @@ -9,7 +9,7 @@ Given /^I create community "(.+)"$/ do |community| |
9 | 9 | end |
10 | 10 | |
11 | 11 | Given /^"(.+)" creates the community "(.+)"$/ do |username, community| |
12 | - When %{I go to #{username}'s control panel} | |
12 | + step %{I go to #{username}'s control panel} | |
13 | 13 | click_link('Manage my groups') |
14 | 14 | click_link('Create a new community') |
15 | 15 | fill_in("Name", :with => community) | ... | ... |