Sha256: 5e062adf749814b16b5f05168154253951565622d47025f9a334e7cef35d7f20
Contents?: true
Size: 543 Bytes
Versions: 8
Compression:
Stored size: 543 Bytes
Contents
# coding: utf-8 require 'test/unit' begin require 'rubygems' require 'redgreen' rescue LoadError end require 'mocha' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'boom' def boom_json(name) root = File.expand_path(File.dirname(__FILE__)) Boom::Storage::Json.any_instance.stubs(:save).returns(true) Boom::Storage::Json.any_instance.stubs(:json_file). returns("#{root}/examples/#{name}.json") Boom.stubs(:storage).returns(Boom::Storage::Json.new) end
Version data entries
8 entries across 8 versions & 1 rubygems