Skip to content

Commit 2c02562

Browse files
committed
Fix. Remove commands from install generator.
1 parent c1dd194 commit 2c02562

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

lib/generators/kommandant/install_generator.rb

-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ class Kommandant::InstallGenerator < Rails::Generators::Base
55

66
def copy_templates
77
template "initializer.rb", "config/initializers/kommandant.rb"
8-
template "commands.json", "config/kommandant/commands.json"
98
end
109
end

lib/generators/kommandant/templates/commands.json

-16
This file was deleted.

test/lib/generators/kommandant/install_generator_test.rb

-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,5 @@ class InstallGeneratorTest < Rails::Generators::TestCase
1111
run_generator
1212
assert_file "config/initializers/kommandant.rb"
1313
end
14-
15-
test "it copies a file with a sample command" do
16-
run_generator
17-
assert_file "config/kommandant/commands.json"
18-
end
1914
end
2015
end

0 commit comments

Comments
 (0)