File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6363
6464 it "uses them" do
6565 $stdin = StringIO . new "#{ MOCK_USER } _wrong\n #{ MOCK_PASSWORD } _wrong\n "
66- Gist . login! username : MOCK_USER , password : MOCK_PASSWORD
66+ Gist . login! :username => MOCK_USER , :password => MOCK_PASSWORD
6767
6868 assert_requested ( :post , /#{ MOCK_AUTHZ_GITHUB_URL } authorizations/ )
6969 end
Original file line number Diff line number Diff line change 22
33 describe "should_be_public?" do
44 it "should return false if -p is specified" do
5- Gist . should_be_public? ( private : true ) . should be_falsy
5+ Gist . should_be_public? ( :private => true ) . should be_falsy
66 end
77
88 it "should return false if legacy_private_gister?" do
1212
1313 it "should return true if --no-private is specified" do
1414 Gist . stub ( :legacy_private_gister? ) . and_return ( true )
15- Gist . should_be_public? ( private : false ) . should be_truthy
15+ Gist . should_be_public? ( :private => false ) . should be_truthy
1616 end
1717
1818 it "should return true by default" do
You can’t perform that action at this time.
0 commit comments