Sha256: 671a67c52f038f328436db5a721a6df27b266a720d066c6825ac3691c2145cd6
Contents?: true
Size: 527 Bytes
Versions: 3
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ncmb-ruby-client-0.1.6 | spec/post_spec.rb |
ncmb-ruby-client-0.1.5 | spec/post_spec.rb |
ncmb-ruby-client-0.1.4 | spec/post_spec.rb |