README in remarkable_activemodel-4.0.0.alpha2 vs README in remarkable_activemodel-4.0.0.alpha3
- old
+ new
@@ -46,11 +46,11 @@
describe Post do
should_validate_presence_of :body
should_validate_presence_of :title
end
-For those who likes more the Rspec way can simply do:
+For those who likes more the RSpec way can simply do:
describe Post do
it { should validate_presence_of(:body) }
it { should validate_presence_of(:title) }
end
@@ -79,9 +79,9 @@
gem install i18n
2. Include the matchers. Remarkable Rails gem is the responsable to add
ActiveModel matchers to rspec. If you are not using it, you have to do:
- Remarkable.include_matchers!(Remarkable::ActiveModel, Rspec::Core::ExampleGroup)
+ Remarkable.include_matchers!(Remarkable::ActiveModel, RSpec::Core::ExampleGroup)
This will make ActiveModel matchers available in all rspec example groups.