test/file_library_test.rb in boson-0.2.5 vs test/file_library_test.rb in boson-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ require File.join(File.dirname(__FILE__), 'test_helper') describe "file library" do before { reset; FileLibrary.reset_file_cache } - before { Gem.stubs(:loaded_specs).returns({}) } if RUBY_VERSION >= '1.9.2' + before { Gem.stubs(:loaded_specs).returns({}) } if RUBY_VERSION >= '1.9.2' && defined? Gem it "loads" do load :blah, :file_string=>"module Blah; def blah; end; end" library_has_module('blah', 'Boson::Commands::Blah') command_exists?('blah') \ No newline at end of file