Sha256: 0309c1ad20262d68cfa792ee8063f67807ecf65d6dd7fdcfafc7f0e9f3febae0

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require 'helper'

describe "Install Generator" do
  before :all do
    create_rails_project
  end

  after :all do
    delete_rails_project
  end

  it "adds the configuration file" do
    file = "#{rails_project_dir}/config/initializers/render_execjs.rb"

    File.exists?(file).should == false
    run_cmd "rails generate render_execjs:install"
    File.exists?(file).should == true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
render_execjs-0.0.3 spec/install_spec.rb
render_execjs-0.0.2 spec/install_spec.rb