README.md in capybara-screenshot-diff-0.15.1 vs README.md in capybara-screenshot-diff-1.0.0
- old
+ new
@@ -10,15 +10,15 @@
Then this gem is for you! Use this gem to detect changes in your pages by
taking screen shots and comparing them to the previous revision.
## Installation
-Add this line to your application's Gemfile:
+Add these lines to your application's Gemfile:
```ruby
gem 'capybara-screenshot-diff'
-gem 'oily_png', platform :ruby
+gem 'oily_png', platform: :ruby
```
And then execute:
$ bundle
@@ -143,10 +143,10 @@
end
test 'my subfeature' do
screenshot_group 'subfeature'
visit '/feature'
- click_button 'Interresting button'
+ click_button 'Interesting button'
screenshot 'subfeature_index'
click_button 'Perform action'
screenshot 'action_performed'
end
```