Skip to content

Commit

Permalink
Removed UUIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Ferris committed Jul 13, 2009
1 parent 02bf399 commit 70e29d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion hashpipe.gemspec
Expand Up @@ -25,5 +25,4 @@ Gem::Specification.new do |s|
]
s.add_dependency("wycats-moneta", ["> 0.0.0"])
s.add_dependency("activesupport", ["> 0.0.0"])
s.add_dependency("assaf-uuid", ["> 0.0.0"])
end
2 changes: 1 addition & 1 deletion spec/hashpipe/archived_attribute_spec.rb
Expand Up @@ -2,7 +2,7 @@

describe HashPipe::ArchivedAttribute do
before do
stub_model = stub(:uuid => '43')
stub_model = stub
@aa = HashPipe::ArchivedAttribute.new(:glorp, stub_model)
HashPipe::MonetaBackend.any_instance.stubs(:table_name_from).returns('foo_table')
end
Expand Down
7 changes: 0 additions & 7 deletions spec/hashpipe_spec.rb
Expand Up @@ -10,7 +10,6 @@
ActiveRecord::Base.silence do
ActiveRecord::Schema.define do
create_table :stories do |table|
table.string :uuid
table.string :title
table.string :content_key
table.string :description_key
Expand Down Expand Up @@ -41,12 +40,6 @@ class Story < ActiveRecord::Base
@bear_story.description.should == @bear_struct
end

it "shouldn't change uuid after it is initially set" do
lambda {
@bear_story.save!
}.should_not change(@bear_story, :uuid)
end

[:save_archived_attributes, :destroy_archived_attributes].each do |sym|
it "should respond to attached storage method #{sym}" do
Story.new.should respond_to(sym)
Expand Down

0 comments on commit 70e29d6

Please sign in to comment.