spec/post_spec.rb in ncmb-ruby-client-0.1.6 vs spec/post_spec.rb in ncmb-ruby-client-0.1.7
- old
+ new
@@ -13,10 +13,10 @@
it 'Post #1' do
text = 'Test task'
queries = {todo: text}
todo_class = NCMB::DataStore.new 'POST_TODO'
todo = todo_class.new(queries).save
- todo.todo.should == text
+ expect(todo.todo).to eql(text)
end
it 'Post with location #1' do
end