Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Update Cucumber dependency
Browse files Browse the repository at this point in the history
This is necessary so Gemnesium will be green.
  • Loading branch information
sikachu committed Dec 12, 2011
1 parent 2cf7378 commit 777ac90
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Expand Up @@ -49,10 +49,10 @@ GEM
childprocess (0.2.2)
ffi (~> 1.0.6)
cocaine (0.2.0)
cucumber (1.0.6)
cucumber (1.1.4)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.4.18)
gherkin (~> 2.7.1)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3)
Expand All @@ -70,13 +70,13 @@ GEM
nokogiri (~> 1.5.0)
ruby-hmac
formatador (0.2.1)
gherkin (2.4.21)
gherkin (2.7.1)
json (>= 1.4.6)
httparty (0.8.1)
multi_json
multi_xml
i18n (0.6.0)
json (1.6.1)
json (1.6.3)
json_pure (1.6.1)
metaclass (0.0.1)
mime-types (1.16)
Expand Down Expand Up @@ -110,7 +110,7 @@ GEM
rubyzip
shoulda (2.11.3)
sqlite3 (1.3.4)
term-ansicolor (1.0.6)
term-ansicolor (1.0.7)
tzinfo (0.3.31)
uuidtools (2.1.2)
xpath (0.1.4)
Expand All @@ -126,7 +126,7 @@ DEPENDENCIES
bundler
capybara
cocaine (~> 0.2)
cucumber (~> 1.0.0)
cucumber (~> 1.1.0)
fakeweb
fog
jruby-openssl
Expand Down
6 changes: 3 additions & 3 deletions features/step_definitions/rails_steps.rb
Expand Up @@ -19,15 +19,15 @@
end

Given /^I run a rails generator to generate a "([^"]*)" scaffold with "([^"]*)"$/ do |model_name, attributes|
Given %[I successfully run `bundle exec #{generator_command} scaffold #{model_name} #{attributes}`]
step %[I successfully run `bundle exec #{generator_command} scaffold #{model_name} #{attributes}`]
end

Given /^I run a paperclip generator to add a paperclip "([^"]*)" to the "([^"]*)" model$/ do |attachment_name, model_name|
Given %[I successfully run `bundle exec #{generator_command} paperclip #{model_name} #{attachment_name}`]
step %[I successfully run `bundle exec #{generator_command} paperclip #{model_name} #{attachment_name}`]
end

Given /^I run a migration$/ do
Given %[I successfully run `bundle exec rake db:migrate`]
step %[I successfully run `bundle exec rake db:migrate`]
end

Given /^I update my new user view to include the file upload field$/ do
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/s3_steps.rb
Expand Up @@ -6,7 +6,7 @@
"([^\/\.]+)"
end
FakeWeb.register_uri(:put, Regexp.new(path), :body => "OK")
When "I attach the file \"#{file_path}\" to \"#{field}\""
step "I attach the file \"#{file_path}\" to \"#{field}\""
end

Then /^the file at "([^"]*)" should be uploaded to S3$/ do |url|
Expand Down
2 changes: 1 addition & 1 deletion paperclip.gemspec
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |s|
s.add_development_dependency('mocha')
s.add_development_dependency('aws-sdk')
s.add_development_dependency('sqlite3', '~> 1.3.4')
s.add_development_dependency('cucumber', '~> 1.0.0')
s.add_development_dependency('cucumber', '~> 1.1.0')
s.add_development_dependency('aruba')
s.add_development_dependency('capybara')
s.add_development_dependency('bundler')
Expand Down

0 comments on commit 777ac90

Please sign in to comment.