Skip to content

Instantly share code, notes, and snippets.

@AndyObtiva
Created July 30, 2017 00:13
Show Gist options
  • Select an option

  • Save AndyObtiva/652bab9243a866f733894e20693edf0f to your computer and use it in GitHub Desktop.

Select an option

Save AndyObtiva/652bab9243a866f733894e20693edf0f to your computer and use it in GitHub Desktop.
Ultra Light Wizard spec
describe UltraLightWizard do
let(:app_rails_ref) {File.expand_path(File.join(__FILE__, '..', '..', '..', 'fixtures', 'ref_rails_app'))}
let(:app_rails_copy) {app_rails_ref.sub('ref', 'copy')}
before do
FileUtils.rm_rf app_rails_copy
FileUtils.cp_r app_rails_ref, app_rails_copy
end
after do
FileUtils.rm_rf app_rails_copy
end
# ... more to go here
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment