Skip to content

Instantly share code, notes, and snippets.

@AndyObtiva
Created July 30, 2017 00:15
Show Gist options
  • Save AndyObtiva/34009221421034c88c09f9ac3ae39ec3 to your computer and use it in GitHub Desktop.
Save AndyObtiva/34009221421034c88c09f9ac3ae39ec3 to your computer and use it in GitHub Desktop.
Ultra Light Wizard Spec It Statement
it 'provides a rails generator when installed in a sample Rails app' do
result = system "cd #{app_rails_copy}
rails generate ultra_light_wizard:scaffold project steps:basic_info,detail,file_upload,preview attributes:name:string,description:text,start_date:datetime,delivery_date:datetime
rake db:migrate
rake"
expect(result).to be_truthy
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment