test/test_config.rb in autobuild-1.8.3 vs test/test_config.rb in autobuild-1.9.0.b1

- old
+ new

@@ -1,7 +1,6 @@ -require 'minitest/spec' -require 'autobuild' +require 'autobuild/test' require 'fakefs/safe' require 'flexmock' describe Autobuild do @@ -25,12 +24,9 @@ assert_equal 'a_test_name', Autobuild.tool(:test) end end describe "tool_in_path" do - include FlexMock::ArgumentTypes - include FlexMock::MockContainer - before do FakeFS.activate! flexmock(Autobuild).should_receive(:tool).with('bla').and_return('a_test_name').by_default flexmock(ENV).should_receive('[]').with('PATH').and_return('/a/path') flexmock(ENV).should_receive('[]').with(any).pass_thru