File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 it "shows only filtered requests, print unfulfilled picklists button with correct quantity" do
4747 Request . delete_all
4848
49- started_request = create ( :request , :started , comments : "Started request - should appear" )
50- pending_request = create ( :request , :pending , comments : "Pending request - should not appear" )
49+ create ( :request , :started , comments : "Started request - should appear" )
50+ create ( :request , :pending , comments : "Pending request - should not appear" )
5151
5252 get requests_path ( { filters : { by_status : :started } } )
5353
54- expect ( response . body ) . to include ( ' Print Unfulfilled Picklists (1)' )
55- expect ( response . body ) . to include ( started_request . comments )
56- expect ( response . body ) . not_to include ( pending_request . comments )
54+ expect ( response . body ) . to include ( " Print Unfulfilled Picklists (1)" )
55+ expect ( response . body ) . to include ( "Started request - should appear" )
56+ expect ( response . body ) . not_to include ( "Pending request - should not appear" )
5757 end
5858 end
5959 end
You can’t perform that action at this time.
0 commit comments