require 'spec_helper'

describe Optioneer do
  it 'has a version number' do
    expect(Optioneer::VERSION).not_to be nil
  end

  it 'should create an instance of the class with no errors' do
    settings = Optioneer.new
    expect(settings).to be_a Optioneer
  end
end

require 'spec_helper'

describe Optioneer do
  it 'has a version number' do
    expect(Optioneer::VERSION).not_to be nil
  end

  it 'should create an instance of the class with no errors' do
    expect(subject).to be_a Optioneer
  end
end

Use rspec 'subject' instead of explicitly creating instance.
Use rspec 'subject' instead of explicitly creating instance.

Signed-off-by: Seapagan <4ab1b2fdb7784a8f9b55e81e3261617f44fd0585@gmail.com>
