diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
commit | 37bff4c0154b57b35a3194a9b31a9422496b955b (patch) | |
tree | 61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /vendor/gems/rspec-1.3.1/Ruby1.9.rdoc | |
parent | 8b49dc894066e452232cabd09333895487f86986 (diff) | |
parent | 8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff) |
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'vendor/gems/rspec-1.3.1/Ruby1.9.rdoc')
-rw-r--r-- | vendor/gems/rspec-1.3.1/Ruby1.9.rdoc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/gems/rspec-1.3.1/Ruby1.9.rdoc b/vendor/gems/rspec-1.3.1/Ruby1.9.rdoc deleted file mode 100644 index e42cc85e4..000000000 --- a/vendor/gems/rspec-1.3.1/Ruby1.9.rdoc +++ /dev/null @@ -1,31 +0,0 @@ -= RSpec and Ruby 1.9 - -RSpec runs on Ruby 1.9.1 with the following caveats. - -== Test::Unit - -RSpec/Test::Unit interop will run with the test-unit-1.2.3 gem, but you must install it. - -== Class Variables - -Due to changes in scoping rules, class variables within example groups are not -supported in Ruby 1.9. - - describe "a class variable" do - @@class_variable = "a class variable" - - it "can access class variables in examples in Ruby 1.8" do - with_ruby 1.8 do - @@class_variable.should == "a class variable" - end - end - - it "can NOT access class variables in examples in Ruby 1.9" do - with_ruby 1.9 do - lambda do - @@class_variable.should == "a class variable" - end.should raise_error(NameError) - end - end - end - |