This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 describe "POST #create" do | |
4 describe "with valid params" do | |
3 it "creates a new inbound order" do | |
2 inbound_params = FactoryGirl.attributes_for(:inbound_order) | |
>> 1 document = Document.create(name: Faker::App.name, doc: File.new("#{Rails.root}/spec/fixtures/test_file.pdf")) | |
27 inbound_params.documents << document # this is stupid but I need to do the for the inbound order not the params | |
1 expect { post :create, :inbound_order => inbound_params }.to change(InboundOrder, :count).by(1) | |
2 end | |
3 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
SCM_THEME_PROMPT_DIRTY=" ${red}✗" | |
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
SCM_THEME_PROMPT_PREFIX=" ${green}|" | |
SCM_THEME_PROMPT_SUFFIX="${green}|" | |
GIT_THEME_PROMPT_DIRTY=" ${red}✗" | |
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
GIT_THEME_PROMPT_PREFIX=" ${green}|" |
NewerOlder