Sha256: b7a332a218658cc29e8d9e936f7a06346c222b62de687de7a66ba36fcc0da5b2
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
if RUBY_VERSION == '1.9.2' && RUBY_PATCHLEVEL < 290 && RUBY_ENGINE != "macruby" # In Ruby 1.9.2 versions before patchlevel 290, the default Psych # parser has an issue with YAML merge keys, which # fixtures/mock_facebook_responses.yml relies heavily on. # # Anyone using an earlier version will see missing mock response # errors when running the test suite similar to this: # # RuntimeError: # Missing a mock response for graph_api: /me/videos: source=[FILE]: post: with_token # API PATH: /me/videos?source=[FILE]&format=json&access_token=* # # For now, it seems the best fix is to just downgrade to the old syck YAML parser # for these troubled versions. # # See https://github.com/tenderlove/psych/issues/8 for more details YAML::ENGINE.yamler = 'syck' end # load the library require 'koala' # Support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # set up our testing environment # load testing data and (if needed) create test users or validate real users KoalaTest.setup_test_environment! BEACH_BALL_PATH = File.join(File.dirname(__FILE__), "fixtures", "beach.jpg")
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
koala-1.8.0 | spec/spec_helper.rb |
koala-1.8.0rc1 | spec/spec_helper.rb |
koala-1.7.0rc1 | spec/spec_helper.rb |