Sha256: ca4df88b96ac3148eedeb05cb8185d549fd8a70779377822a20aa6d0df56a95e
Contents?: true
Size: 478 Bytes
Versions: 5
Compression:
Stored size: 478 Bytes
Contents
require "spec_helper" describe NCMB do before do yaml = YAML.load_file(File.join(File.dirname(__FILE__), '..', 'setting.yml')) NCMB.initialize application_key: yaml['application_key'], client_key: yaml['client_key'] end 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 end it "Post with location #1" do end end
Version data entries
5 entries across 5 versions & 1 rubygems