Skip to content

Commit

Permalink
fix spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Sep 25, 2015
1 parent e0e2855 commit 023baab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/oai_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def valid_attributes
it "should not assign all manifestations as @manifestations in oai format with ListRecords without metadataPrefix" do
get :provider, format: 'xml', :verb => 'ListRecords'
assigns(:manifestations).should_not be_nil
response.should render_template("oai/list_records")
response.should render_template("oai/provider")
end

it "assigns all manifestations as @manifestations in oai format with ListRecords for junii2 metadata" do
Expand All @@ -34,7 +34,7 @@ def valid_attributes
it "should not assign all manifestations as @manifestations in oai format with ListIdentifiers without metadataPrefix" do
get :provider, format: 'xml', :verb => 'ListIdentifiers'
assigns(:manifestations).should_not be_nil
response.should render_template("oai/list_identifiers")
response.should render_template("oai/provider")
end

it "assigns all manifestations as @manifestations in oai format with ListIdentifiers for junii2 metadata" do
Expand Down

0 comments on commit 023baab

Please sign in to comment.