Logo: Relish

  1. Sign in

Project: Devise-specs

Delete specs

Background
Given
I set up devise-specs
Scenarios
undo changes with Factory Girl installed
Given
I install factory_girl_rails
When
I run rails destroy devise User
Then
the output should contain:
      invoke  specs
      remove    spec/support/factory_girl.rb
      remove    spec/support/devise.rb
      remove    spec/features/user_signs_up_spec.rb
      remove    spec/features/user_signs_in_spec.rb
      remove    spec/features/user_signs_out_spec.rb
      remove    spec/features/user_resets_password_spec.rb
undo changes with Fabrication installed
Given
I install fabrication
When
I run rails destroy devise User
Then
the output should contain:
      invoke  specs
      remove    spec/support/devise.rb
      remove    spec/features/user_signs_up_spec.rb
      remove    spec/features/user_signs_in_spec.rb
      remove    spec/features/user_signs_out_spec.rb
      remove    spec/features/user_resets_password_spec.rb

Last published almost 4 years ago by andrii.