spec/commands/generator_spec.rb in pliny-0.6.3 vs spec/commands/generator_spec.rb in pliny-0.7.0

- old
+ new

@@ -2,11 +2,11 @@ require 'pliny/commands/generator' require 'pliny/commands/generator/base' require 'spec_helper' describe Pliny::Commands::Generator do -subject { Pliny::Commands::Generator.new } + subject { Pliny::Commands::Generator.new } before do Timecop.freeze(@t = Time.now) any_instance_of(Pliny::Commands::Generator::Base) do |klass| @@ -125,11 +125,11 @@ it 'creates a test' do assert File.exist?('spec/models/artist_spec.rb') end it 'creates a schema' do - assert File.exist?('docs/schema/schemata/artist.yaml') + assert File.exist?('schema/schemata/artist.yaml') end it 'creates a new serializer module' do assert File.exist?('lib/serializers/artist.rb') end @@ -143,10 +143,10 @@ before do subject.schema('artist') end it 'creates a schema' do - assert File.exist?('docs/schema/schemata/artist.yaml') + assert File.exist?('schema/schemata/artist.yaml') end end describe '#serializer' do before do