Skip to content

Commit

Permalink
Fixing rspec patterns to not try and load spec/fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethkalmer committed Sep 17, 2013
1 parent 17b10d8 commit 2d8eaed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--colour
--pattern "spec/*_spec.rb"
1 change: 0 additions & 1 deletion spec/spec.opts

This file was deleted.

2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# in spec/support/ and its subdirectories.
Dir[ File.expand_path("../support/**/*.rb", __FILE__) ].each { |f| require f }

require 'rake/file_list'

RSpec.configure do |config|
# == Mock Framework
#
Expand Down
2 changes: 1 addition & 1 deletion tasks/rspec.rake
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ require 'rspec/core/rake_task'

desc "Run the specs under spec/"
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--options', "spec/spec.opts"]
t.pattern = "spec/*_spec.rb"
end

0 comments on commit 2d8eaed

Please sign in to comment.