Skip to content

Instantly share code, notes, and snippets.

@scottshea
Created May 11, 2012 22:17
Show Gist options
  • Save scottshea/2662733 to your computer and use it in GitHub Desktop.
Save scottshea/2662733 to your computer and use it in GitHub Desktop.
meetings_shared_delegates
shared_examples_for "Meeting Delegates" do
describe "#organization_name"do
it "should return the organization_name from the delegate" do
subject.organization_name.should == subject.organization.name
end
end
describe "#address" do
it "should return the organization address from the delegate" do
subject.address.should == subject.organization.address
end
end
describe "#main_phone_number" do
it "should return the main_phone_number from the delegate" do
subject.main_phone_number.should == subject.organization.main_phone_number
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment