spec/controllers/terms_controller_spec.rb in qa-0.0.1 vs spec/controllers/terms_controller_spec.rb in qa-0.0.2
- old
+ new
@@ -12,11 +12,11 @@
it "should return 400 if no vocabulary is specified" do
get :index, { :vocab => nil}
response.code.should == "400"
end
-
+
it "should return 400 if no query is specified" do
get :index, { :q => nil}
response.code.should == "400"
end
@@ -63,8 +63,12 @@
get :index, { :q => "foo", :vocab => "loc", :sub_authority => "relators" }
response.code.should_not == "400"
end
end
-
+
+ describe "#show" do
+ it "the path resolves"
+ end
+
end
end