require "spec_helper"

describe LastFM::Auth do
  it "should define unrestricted methods" do
    LastFM::Auth.unrestricted_methods.should == [:get_token]
  end

  it "should define restricted methods" do
    LastFM::Auth.restricted_methods.should == [:get_mobile_session, :get_session]
  end
end

require "spec_helper"

describe LastFM::Auth do
  it "should define unrestricted methods" do
    LastFM::Auth.should respond_to(:get_token)
  end

  it "should define restricted methods" do
    LastFM::Auth.should respond_to(:get_mobile_session, :get_session)
  end
end

Check restricted method definitions for Album
Check restricted method definitions for Album
