Sha256: 2bcf01fd89c9e4cc59cf6d27d7deaa0df05aa126312de9082ea1123902fa7041

Contents?: true

Size: 421 Bytes

Versions: 11

Compression:

Stored size: 421 Bytes

Contents

require File.expand_path('../test_helper', File.dirname(__FILE__))
require 'rails/generators'
require 'generators/tabs/tabs_generator'

class TabsGeneratorTest < Rails::Generators::TestCase
  tests TabsGenerator
  destination File.expand_path("../../tmp", File.dirname(__FILE__))
  setup :prepare_destination
 
  test "all files are properly created" do
    run_generator
    assert_file "app/tabs/tabulous.rb"
  end
end

Version data entries

11 entries across 7 versions & 1 rubygems

Version Path
tabulous-1.3.0 test/applications/rails31/main/test/unit/tabs_generator_test.rb
tabulous-1.3.0 test/applications/rails30/main/test/unit/tabs_generator_test.rb
tabulous-1.2.0 test/applications/rails30/main/test/unit/tabs_generator_test.rb
tabulous-1.2.0 test/applications/rails31/main/test/unit/tabs_generator_test.rb
tabulous-1.1.0 test/applications/rails30/main/test/unit/tabs_generator_test.rb
tabulous-1.1.0 test/applications/rails31/main/test/unit/tabs_generator_test.rb
tabulous-1.0.3 test/applications/rails31/main/test/unit/tabs_generator_test.rb
tabulous-1.0.3 test/applications/rails30/main/test/unit/tabs_generator_test.rb
tabulous-1.0.2 test/applications/main/test/unit/tabs_generator_test.rb
tabulous-1.0.1 test/applications/main/test/unit/tabs_generator_test.rb
tabulous-1.0.0 test/applications/main/test/unit/tabs_generator_test.rb