Skip to content

Commit

Permalink
Got the specs and features to pass on 1.9.2.
Browse files Browse the repository at this point in the history
Ruby 1.9.1 has some slight YAML serialization differences from 1.8.x.  1.9.2 has the same YAML serialization as 1.8.x, so I've changed the fixtures directories from 1.8.6, 1.8.7 and 1.9.1 to 1.9.1 and not_1.9.1.
  • Loading branch information
myronmarston committed Jun 27, 2010
1 parent ba815a7 commit f2224df
Show file tree
Hide file tree
Showing 40 changed files with 24 additions and 801 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions features/fixtures/vcr_cassettes/1.8.7/erb_cassette.yml

This file was deleted.

24 changes: 0 additions & 24 deletions features/fixtures/vcr_cassettes/1.8.7/nested_replay_cassette.yml

This file was deleted.

43 changes: 0 additions & 43 deletions features/fixtures/vcr_cassettes/1.8.7/not_the_real_response.yml

This file was deleted.

This file was deleted.

5 changes: 4 additions & 1 deletion features/support/env.rb
Expand Up @@ -30,8 +30,11 @@

require 'spec'

# Ruby 1.9.1 has a different yaml serialization format.
YAML_SERIALIZATION_VERSION = RUBY_VERSION == '1.9.1' ? '1.9.1' : 'not_1.9.1'

VCR.config do |c|
c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes', RUBY_VERSION)
c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes', YAML_SERIALIZATION_VERSION)
c.http_stubbing_library = ENV['HTTP_STUBBING_ADAPTER'].to_sym
end

Expand Down

0 comments on commit f2224df

Please sign in to comment.