spec/gitlab_spec.rb in gitlab-2.2.0 vs spec/gitlab_spec.rb in gitlab-3.0.0

- old
+ new

@@ -21,9 +21,16 @@ Gitlab.private_token = 'secret' Gitlab.private_token.should == 'secret' end end + describe ".sudo=" do + it "should set sudo" do + Gitlab.sudo = 'user' + Gitlab.sudo.should == 'user' + end + end + describe ".user_agent" do it "should return default user_agent" do Gitlab.user_agent.should == Gitlab::Configuration::DEFAULT_USER_AGENT end end