facebooker2/spec/facebooker2_spec.rb
2010-05-05 11:42:11 -04:00

20 lines
481 B
Ruby

require "spec_helper"
describe Facebooker2 do
describe "Configuration" do
it "allows setting of the api_key" do
Facebooker2.api_key = "123456"
Facebooker2.api_key.should == "123456"
end
it "allows setting of the secret" do
Facebooker2.secret = "mysecret"
Facebooker2.secret.should == "mysecret"
end
it "has an app_id" do
Facebooker2.app_id = "12345"
Facebooker2.app_id.should == "12345"
end
end
end