Reworks quoting spec layout

[skip ci]
pull/392/head
Hagen Schink 11 years ago committed by Jens Ulferts
parent 972f4c91ba
commit 7ce4c18609
  1. 8
      spec/controllers/work_packages_controller_spec.rb

@ -735,17 +735,15 @@ describe WorkPackagesController do
describe "quotation" do
let(:call_action) { get :quoted }
context "description" do
requires_permission_in_project do
requires_permission_in_project do
context "description" do
subject { get :quoted, id: planning_element.id }
it { should be_success }
it { should render_template('edit') }
end
end
context "journal" do
requires_permission_in_project do
context "journal" do
let(:journal_id) { planning_element.journals.first.id }
subject { get :quoted, id: planning_element.id, journal_id: journal_id }

Loading…
Cancel
Save