Skip to content

Commit

Permalink
include rspec/its in bats
Browse files Browse the repository at this point in the history
Signed-off-by: dmitriy kalinin <[email protected]>
  • Loading branch information
Rob Day-Reynolds authored and dmitriy kalinin committed Dec 27, 2013
1 parent ce2b024 commit 30f0ee5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bat/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require 'rspec'

require 'rspec/its'
require 'fakefs/spec_helpers'

SPEC_ROOT = File.expand_path(File.dirname(__FILE__))

Dir.glob(File.expand_path('support/**/*.rb', File.dirname(__FILE__))).each do |support|
require support
end
Dir.glob(File.expand_path('support/**/*.rb', SPEC_ROOT)).each { |f| require(f) }

0 comments on commit 30f0ee5

Please sign in to comment.