Created
June 17, 2015 23:00
-
-
Save davidcunha/45c12326e2cbcf73dd89 to your computer and use it in GitHub Desktop.
Extend rake spec with Capybara feature tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rake' | |
require 'rspec/core/rake_task' | |
namespace :spec do | |
desc "Run the code examples in spec/features" | |
RSpec::Core::RakeTask.new(:features) do |t| | |
t.pattern = "spec/features/*_spec.rb" | |
end | |
end | |
task(:spec).enhance(["spec:features"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment