Sha256: d5d330db9fcfa299a73326b73a493707bb841146046f29773509042b07063e00

Contents?: true

Size: 400 Bytes

Versions: 11

Compression:

Stored size: 400 Bytes

Contents

# coding: utf-8

require 'spec_helper'

describe Redditor::Generators::ViewsGenerator do
  include GeneratorSpec::TestCase
  destination File.expand_path("../../../tmp", __FILE__)

  before(:all) do
    prepare_destination
    run_generator
  end

  after(:all) { FileUtils.rm_rf 'tmp' }

  it "generates views" do
    assert_directory "app/views/redditor/admin/pages/_content_block.haml"
  end 

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
redditor-0.1.10 spec/generators/views_generator_spec.rb
redditor-0.1.9 spec/generators/views_generator_spec.rb
redditor-0.1.8 spec/generators/views_generator_spec.rb
redditor-0.1.7 spec/generators/views_generator_spec.rb
redditor-0.1.6 spec/generators/views_generator_spec.rb
redditor-0.1.5 spec/generators/views_generator_spec.rb
redditor-0.1.4 spec/generators/views_generator_spec.rb
redditor-0.1.3 spec/generators/views_generator_spec.rb
redditor-0.1.2 spec/generators/views_generator_spec.rb
redditor-0.1.1 spec/generators/views_generator_spec.rb
redditor-0.1.0 spec/generators/views_generator_spec.rb