Sha256: f7b07ae84b1bea187e04391a2c518cdceb6e9742127df6b3c375bd3be63df2a2

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

require 'spec_helper'

describe Sunrise::Locales::InstallGenerator do
  include GeneratorSpec::TestCase
  destination File.expand_path("../../tmp", __FILE__)
#  arguments %w(something)

  before(:all) do
    prepare_destination
    run_generator
  end
  
  it "should create codemirror js and css" do
    assert_file "public/javascripts/codemirror.js"
    assert_file "public/javascripts/yaml.js"
    assert_file "public/stylesheets/codemirror.css"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sunrise-locales-0.1.0 spec/generators/install_generator_spec.rb