Sha256: 573193ac8ef9b659db23619a30b3ab0a2cdf6117ebb4a69c480ebd04b8c3ce74
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
require 'spec_helper' describe GoogleCells::GoogleObject do context "subclass declaration" do class TestObject < GoogleCells::GoogleObject @permanent_attributes = %w{ name email } define_accessors end it "automatically generates accessors for perm attribs" do o = TestObject.new o.should respond_to :name o.should respond_to :email end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | spec/google_cells/google_object_spec.rb |
google-cells-0.3.0 | spec/google_cells/google_object_spec.rb |