From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb (limited to 'lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb') diff --git a/lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb b/lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb new file mode 100644 index 0000000..eaa3d93 --- /dev/null +++ b/lib/generators/nifty/scaffold/templates/tests/rspec/actions/show.rb @@ -0,0 +1,4 @@ + it "show action should render show template" do + get :show, :id => <%= class_name %>.first + response.should render_template(:show) + end -- cgit v1.2.3