Commit 38785542 by Turadg Aleahmad

make the specs pass (one pending)

parent 6bdaea57
...@@ -83,7 +83,7 @@ EOS ...@@ -83,7 +83,7 @@ EOS
klass = AnnotateModels.get_model_class("foo_with_macro.rb") klass = AnnotateModels.get_model_class("foo_with_macro.rb")
klass.name.should == "FooWithMacro" klass.name.should == "FooWithMacro"
end end
it "should find models with non standard capitalization" do pending it "should find models with non standard capitalization" do
klass = AnnotateModels.get_model_class("foo_with_capitals.rb") klass = AnnotateModels.get_model_class("foo_with_capitals.rb")
klass.name.should == "FooWithCAPITALS" klass.name.should == "FooWithCAPITALS"
end end
......
begin begin
require 'spec' require 'rspec'
rescue LoadError rescue LoadError
require 'rubygems' require 'rubygems'
gem 'rspec-core' gem 'rspec-core'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment