Sha256: 15dcedd13c8731a97aea35d37f3a3c3a8656b7636febf9865319e4da9157328a

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'
describe Skydrive::User do
  let(:user) { YAML.load(%{
      id: "123456"
      name: "Rony Varghese"
    })
  }
  subject { Skydrive::User.new(skydrive_test_client, user)}
  it "should return the id of the user" do
    subject.id.should == "123456"
  end

  it "should return the name of the user" do
    subject.name.should == "Rony Varghese"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
skydrive-0.1.4 spec/skydrive/user_spec.rb
skydrive-0.1.0 spec/skydrive/user_spec.rb
skydrive-0.0.2 spec/skydrive/user_spec.rb
skydrive-0.0.1 spec/skydrive/user_spec.rb