Skip to content

Commit

Permalink
Fix. Remove commands from install generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
woller committed Jun 11, 2024
1 parent c1dd194 commit 2c02562
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion lib/generators/kommandant/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ class Kommandant::InstallGenerator < Rails::Generators::Base

def copy_templates
template "initializer.rb", "config/initializers/kommandant.rb"
template "commands.json", "config/kommandant/commands.json"
end
end
16 changes: 0 additions & 16 deletions lib/generators/kommandant/templates/commands.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/lib/generators/kommandant/install_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ class InstallGeneratorTest < Rails::Generators::TestCase
run_generator
assert_file "config/initializers/kommandant.rb"
end

test "it copies a file with a sample command" do
run_generator
assert_file "config/kommandant/commands.json"
end
end
end

0 comments on commit 2c02562

Please sign in to comment.