Sha256: 244fe9d628072600f6a30aa66f6c8aa010c5d80e3c96c1a30944cdf7b53829c7

Contents?: true

Size: 555 Bytes

Versions: 22

Compression:

Stored size: 555 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe "Creating of a view file" do
  before(:all) do
    ::Pullentity::Client::Generate::Project.create('dailyfocus')
  end

  context "Creating a view file and its spec" do
    before(:each) do
      system("cd dailyfocus && bundle exec pullentity build mm")
    end

    it "should have created the build directory" do
      File.directory?("dailyfocus/build").should be_true
    end

  end

  after(:all) do
    #remove_directories('dailyfocus', 'app', 'spec/views')
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pullentity-client-0.3.9 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.8 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.7 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.6 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.5 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.4 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.3 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.2 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.1 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.3.0 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.1.3 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.1.2 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.1.1 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.1.0 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.9 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.8 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.7 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.6 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.4 spec/pullentity-client/builder/middleman_spec.rb
pullentity-client-0.0.3 spec/pullentity-client/builder/middleman_spec.rb