Sha256: 1866dc410b2eb99e5cb3e4633ab0ff62d015580519ff11bcc948e51b156130d8

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 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 "config/initializers/tabulous.rb"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tabulous-0.0.2 test/applications/main/test/unit/tabs_generator_test.rb
tabulous-0.0.1 test/applications/main/test/unit/tabs_generator_test.rb