Skip to content

Commit

Permalink
Merge pull request #97 from collectiveidea/rspec-enable-warnings-default
Browse files Browse the repository at this point in the history
Check for warnings by default rake spec run
  • Loading branch information
shekibobo committed May 3, 2017
2 parents 84fcbf4 + 9096084 commit 56fdd93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "cucumber/rake/task"

RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new(:spec) do |task|
task.rspec_opts = "--warnings"
end

Cucumber::Rake::Task.new(:cucumber) do |task|
task.cucumber_opts = "--tags ~@fail"
Expand Down

0 comments on commit 56fdd93

Please sign in to comment.