Gemify and upgrade to shoulda-2.11.3, remove dr_nic_magic_models

This commit is contained in:
2013-07-12 15:54:20 -04:00
parent 8058096f7e
commit 796c1a279e
226 changed files with 56 additions and 12509 deletions

View File

@@ -41,8 +41,8 @@ class CoursesControllerTest < ActionController::TestCase
context "on get to :index" do
setup { get :index }
should_respond_with :success
should_render_template 'index'
should respond_with :success
should render_template 'index'
should "display the course list" do
assert_select 'h1', "Disciplinas #{App.current_period}"
@@ -58,8 +58,8 @@ class CoursesControllerTest < ActionController::TestCase
context "on get to :show" do
setup { get :show, :id => @course.id }
should_respond_with :success
should_render_template 'show'
should respond_with :success
should render_template 'show'
should "display the course" do
assert_select 'a[href=?]', course_log_url(@course)