Module: RSpec::RubyContentMatchers::Devise
- Defined in:
- lib/matchers/have_devise_options.rb
Instance Method Summary collapse
Instance Method Details
#have_default_devise_options ⇒ Object
5 6 7 |
# File 'lib/matchers/have_devise_options.rb', line 5 def have_call "devise", :args => [:database_authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable] end |
#have_devise_options(*names) ⇒ Object
9 10 11 |
# File 'lib/matchers/have_devise_options.rb', line 9 def *names have_call "devise", :args => names end |