From 470c8043af5979f977fb701d04f7ca4394c098ae Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Mon, 20 Jun 2011 21:44:35 -0500 Subject: [PATCH] fix rspec warnings --- Rakefile | 4 ++-- spec/spec_helper.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index f693bb1..eeba521 100644 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,7 @@ task :default => :spec task :release => :man desc "Run all specs" -Rspec::Core::RakeTask.new(:spec) do |t| +RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb' end @@ -22,7 +22,7 @@ task :rcov => "rcov:build" do %x{ open coverage/index.html } end -Rspec::Core::RakeTask.new("rcov:build") do |t| +RSpec::Core::RakeTask.new("rcov:build") do |t| t.pattern = 'spec/**/*_spec.rb' t.rcov = true t.rcov_opts = [ "--exclude", ".bundle", "--exclude", "spec" ] diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a6f1cc6..dbd2468 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -52,7 +52,7 @@ def example_export_file(filename) data end -Rspec.configure do |config| +RSpec.configure do |config| config.color_enabled = true config.include FakeFS::SpecHelpers config.mock_with :rr