Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Make publishable spec and add files spec pending
Browse files Browse the repository at this point in the history
  • Loading branch information
tonmoy18 committed Nov 19, 2015
1 parent bc9fd47 commit bc0f4eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spec/controllers/collections_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@
end

it "shows all files of the user" do
pending "need to find out why assigns variable is pending"
get :add_files, id: collection
expect(assigns[:collection]).to eq collection
expect(assigns[:files]).to eq []
expect(assigns[:files]).to eq [file]
end
end

Expand Down
3 changes: 2 additions & 1 deletion spec/controllers/publishables_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
end

it "shows collections with files and without doi requests" do
pending "need to find out why assigns var is empty"
get :index
expect(assigns[:publishables]).to eq []
expect(assigns[:publishables]).to eq [collection]
end
end
end

0 comments on commit bc0f4eb

Please sign in to comment.