Module: RSpec::RubyContentMatchers::Devise

Defined in:
lib/matchers/have_devise_options.rb

Instance Method Summary collapse

Instance Method Details

#have_default_devise_optionsObject



5
6
7
# File 'lib/matchers/have_devise_options.rb', line 5

def have_default_devise_options
  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 have_devise_options *names
  have_call "devise", :args => names
end