spec/assistly_spec.rb in assistly-0.1.4 vs spec/assistly_spec.rb in assistly-0.1.5

- old
+ new

@@ -57,9 +57,22 @@ it "should change the endpoint" do Assistly.endpoint.should == "https://zencoder.assistly.com/api/#{Assistly::Configuration::DEFAULT_VERSION}/" end end + describe ".support_email" do + it "should return the default support_email" do + Assistly.support_email.should == Assistly::Configuration::DEFAULT_SUPPORT_EMAIL + end + end + + describe ".support_email=" do + it "should set the support_email" do + Assistly.support_email = "help@example.com" + Assistly.support_email.should == "help@example.com" + end + end + describe ".version=" do before do Assistly.version = "v4" end