Sha256: 73c494f37c1a95f0989cefd0f5866c92a2a7388365e74c74b86bce012dbd71c1
Contents?: true
Size: 1.59 KB
Versions: 21
Compression:
Stored size: 1.59 KB
Contents
require 'spec_helper' require 'json' require 'date' # Unit tests for Phrase::Comment # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Comment' do before do # run before each test @instance = Phrase::Comment.new end after do # run after each test end describe 'test an instance of Comment' do it 'should create an instance of Comment' do expect(@instance).to be_instance_of(Phrase::Comment) end end describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "message"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "user"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "updated_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "mentioned_users"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
phrase-2.1.0 | spec/models/comment_spec.rb |