mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
16 lines
584 B
Gherkin
16 lines
584 B
Gherkin
|
Feature: integration with ActiveModel
|
||
|
|
||
|
Scenario: create a new project using matchers
|
||
|
When I generate a new ActiveModel application
|
||
|
And I configure the application to use "shoulda-matchers" from this project
|
||
|
And I write to "load_dependencies.rb" with:
|
||
|
"""
|
||
|
require 'active_model'
|
||
|
require 'shoulda-matchers'
|
||
|
|
||
|
puts ActiveModel::VERSION::STRING
|
||
|
puts "Loaded all dependencies without errors"
|
||
|
"""
|
||
|
When I successfully run `bundle exec ruby load_dependencies.rb`
|
||
|
Then the output should contain "Loaded all dependencies without errors"
|