Sha256: 41fad3714e1e3be622702adc3d9f468fa6027fa8aec59e31b6ea4af8e3051db7
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RAW_USER = data_from_json 'user_success.json' describe Dribbble::User do describe 'on instance' do before do @user = described_class.new 'valid_token', RAW_USER end describe 'after initialization' do RAW_USER.each do |field, value| it "respond to #{field}" do expect(@user.send(field)).to eq(value) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dribbble-2.0.0 | spec/lib/dribbble/user_spec.rb |