gotime-cassandra_object 4.5.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
data/test/support/teardown.rb
CHANGED
@@ -2,12 +2,13 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
class CassandraObject::Scope::QueryMethodsTest < CassandraObject::TestCase
|
4
4
|
test "select" do
|
5
|
-
|
5
|
+
original_issue = Issue.create title: 'foo', description: 'bar'
|
6
6
|
|
7
|
-
|
7
|
+
found_issue = Issue.select(:title).find(original_issue.id)
|
8
8
|
|
9
|
-
assert_equal 'foo',
|
10
|
-
|
9
|
+
assert_equal 'foo', found_issue.title
|
10
|
+
assert_equal original_issue.id, found_issue.id
|
11
|
+
assert_nil found_issue.description
|
11
12
|
end
|
12
13
|
|
13
14
|
test "select with block" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gotime-cassandra_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-09
|
13
|
+
date: 2012-10-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemodel
|