spec/spec_helper.rb in glare-0.2.2 vs spec/spec_helper.rb in glare-0.3.0
- old
+ new
@@ -93,11 +93,5 @@
# Setting this allows you to use `--seed` to deterministically reproduce
# test failures related to randomization by passing the same `--seed` value
# as the one that triggered the failure.
Kernel.srand config.seed
end
-
-def load_fixture(fixture)
- fixture_dir = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures'))
- json = IO.read(File.join(fixture_dir, "#{fixture}.json"))
- ::HTTP::Message.new_response(JSON.parse(json))
-end