diff options
author | Daniel Beauchamp <daniel.beauchamp@gmail.com> | 2015-04-30 10:13:23 -0400 |
---|---|---|
committer | Daniel Beauchamp <daniel.beauchamp@gmail.com> | 2015-04-30 10:13:23 -0400 |
commit | 439182f3b91c6c3c0cb5b5c8f5bee2562cfff2d4 (patch) | |
tree | 694efd4af11203587dd872f25de2504a3cf2a5aa /test/app_test.rb | |
parent | 66cd2039a3397387cd5399d65a415ceb53a12a32 (diff) | |
parent | 69554869db9f0273ef2e309ceca1e990b155bd68 (diff) |
Merge pull request #560 from svendahlstrand/remove_redundant_test
Remove redundant test
Diffstat (limited to 'test/app_test.rb')
-rw-r--r-- | test/app_test.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/app_test.rb b/test/app_test.rb index 4acb27a..36cd310 100644 --- a/test/app_test.rb +++ b/test/app_test.rb @@ -129,13 +129,6 @@ class AppTest < Dashing::Test end end - def test_get_nonexistent_dashboard_sends_file_with_404_status - with_generated_project do - app.any_instance.expects(:send_file).with(anything, has_entry(:status, 404)) - get '/nodashboard' - end - end - def test_get_widget with_generated_project do get '/views/meter.html' @@ -152,6 +145,7 @@ class AppTest < Dashing::Test cli.stubs(:source_paths).returns([source_path]) silent { cli.new 'new_project' } + app.settings.public_folder = File.join(dir, 'new_project/public') app.settings.views = File.join(dir, 'new_project/dashboards') app.settings.root = File.join(dir, 'new_project') yield app.settings.root |