Sha256: bc96f80678d4fde7bb0a2deb5e8b2eb7950eacae51d664dcc000af0e9e3e4b48
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
require "spec_helper" describe BigbluebuttonRails::Generators::InstallGenerator do include GeneratorSpec::TestCase destination File.expand_path("../../../tmp", __FILE__) tests BigbluebuttonRails::Generators::InstallGenerator before(:all) do prepare_destination run_generator end it "all files are properly created" do assert_migration "db/migrate/create_bigbluebutton_rails.rb" assert_file "config/locales/bigbluebutton_rails.en.yml" end it "all files are properly destroyed" do run_generator %w(), :behavior => :revoke assert_no_file "config/locales/bigbluebutton_rails.en.yml" assert_no_migration "db/migrate/create_bigbluebutton_rails.rb" end end
Version data entries
4 entries across 4 versions & 1 rubygems