diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-02-23 12:06:34 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2011-02-23 12:06:34 +0000 |
commit | 4cd0de91754f07afd0afb58d137b3adcf5a07611 (patch) | |
tree | 1a16f0c5af85f5e7561012b027545183584e15b8 /vendor/plugins/rspec/Ruby1.9.rdoc | |
parent | 44b78c1cd78607434b3666f5391ba68da647583f (diff) |
Removing rspec and rspec-rails plugins in favour of updated gems.
Diffstat (limited to 'vendor/plugins/rspec/Ruby1.9.rdoc')
-rw-r--r-- | vendor/plugins/rspec/Ruby1.9.rdoc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/plugins/rspec/Ruby1.9.rdoc b/vendor/plugins/rspec/Ruby1.9.rdoc deleted file mode 100644 index e42cc85e4..000000000 --- a/vendor/plugins/rspec/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 - |