Sha256: 82318611b8ef37ecfa36ebd4493d558ea35d257bac4957a3ca55a0c004647332
Contents?: true
Size: 614 Bytes
Versions: 5
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' require 'grape/generators/transformations/install_generator' describe Grape::Generators::Transformations::InstallGenerator, :type => :generator do destination File.expand_path('../../../tmp/tests', __FILE__) before { prepare_destination } context 'the generated files' do before { run_generator } describe 'initializer' do subject { file 'config/initializers/grape-transformations.rb' } it { should exist } end describe 'entities folder' do subject { file 'app/api/test_app/entities/.keep' } it { should exist } end end end
Version data entries
5 entries across 5 versions & 1 rubygems