Skip to content

Commit

Permalink
Ditch Cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Sep 30, 2013
1 parent 08dfcf1 commit 0a5983c
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 187 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
before_script:
- unset RAILS_ENV
- unset RACK_ENV
branches: master
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile
- gemfiles/rails40.gemfile
language: ruby
rvm:
- 1.9.3
- 2.0.0
before_script:
- unset RAILS_ENV
- unset RACK_ENV
matrix:
include:
- gemfile: Gemfile
rvm: 2.0.0
env: COVERAGE=1
rvm:
- 1.9.3
- 2.0.0
script: rspec
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ gem "rails", ">= 3.0.3", "< 5"
group :test do
gem "aruba", "~> 0.5"
gem "coveralls", "~> 0.6", require: false
gem "cucumber", "~> 1.3"
gem "rake", "~> 10.0"
gem "rake", "~> 10.1"
gem "rspec", "~> 2.13"
gem "simplecov", "~> 0.7", require: false
end
13 changes: 1 addition & 12 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "cucumber/rake/task"

RSpec::Core::RakeTask.new(:spec)
Cucumber::Rake::Task.new(:cucumber)

task default: [:spec, :cucumber]

if ENV["COVERAGE"]
Rake::Task[:default].enhance do
require "simplecov"
require "coveralls"

Coveralls::SimpleCov::Formatter.new.format(SimpleCov.result)
end
end
task default: :spec
97 changes: 0 additions & 97 deletions features/rails.feature

This file was deleted.

7 changes: 0 additions & 7 deletions features/step_definitions/bundler_steps.rb

This file was deleted.

19 changes: 0 additions & 19 deletions features/step_definitions/common_steps.rb

This file was deleted.

12 changes: 0 additions & 12 deletions features/step_definitions/rails_steps.rb

This file was deleted.

12 changes: 0 additions & 12 deletions features/support/aruba.rb

This file was deleted.

8 changes: 0 additions & 8 deletions features/support/env.rb

This file was deleted.

2 changes: 0 additions & 2 deletions gemfiles/rails30.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ gem "rails", "~> 3.0.2"

group :test do
gem "aruba", "~> 0.5"
gem "cucumber", "~> 1.3"
gem "rake", "~> 10.0"
gem "rspec", "~> 2.13"
end
2 changes: 0 additions & 2 deletions gemfiles/rails31.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ gem "rails", "~> 3.1.0"

group :test do
gem "aruba", "~> 0.5"
gem "cucumber", "~> 1.3"
gem "rake", "~> 10.0"
gem "rspec", "~> 2.13"
end
2 changes: 0 additions & 2 deletions gemfiles/rails32.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ gem "rails", "~> 3.2.0"

group :test do
gem "aruba", "~> 0.5"
gem "cucumber", "~> 1.3"
gem "rake", "~> 10.0"
gem "rspec", "~> 2.13"
end
3 changes: 0 additions & 3 deletions gemfiles/rails40.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ gem "rails", "~> 4.0.0"

group :test do
gem "aruba", "~> 0.5"
gem "cucumber", "~> 1.3"
gem "json", "~> 1.7.7"
gem "rake", "~> 10.0"
gem "rspec", "~> 2.13"
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if ENV["COVERAGE"]
require "simplecov"
SimpleCov.start { add_filter("spec") }
require "coveralls"
Coveralls.wear!
end

require "figaro"
Expand Down

0 comments on commit 0a5983c

Please sign in to comment.