Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix column_family_spec to not check for column.id attribute now absen…

…t in cassandra 1.2
  • Loading branch information...
commit f6ea6d78cd9aea827db60bd75a3f04319e008621 1 parent a8efe6b
@kreynolds authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 spec/column_family_spec.rb
View
6 spec/column_family_spec.rb
@@ -18,8 +18,12 @@
it "should have some common attributes" do
[@standard_column_family, @super_column_family].each do |column|
column.name.should_not be_nil
- column.id.should_not be_nil
column.column_type.should_not be_nil
+
+ # Only true for cassandra < 1.2
+ if CassandraCQL.CASSANDRA_VERSION < "1.2"
+ column.id.should_not be_nil
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.