Sha256: 00c2a440f5289652580f55838a2cc3b0ea0a3e5401260b33c5fdbd511fa84f30

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

describe Fake do
  describe '.create' do
    context "when params are valid" do
      it "returns true" do
        expect(subject).to be_true
      end
    end
    context "when params are invalid" do
      it "returns false" do
        expect(subject).to be_false
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspex-0.0.5 fake/gems/fakegem-1.0.0/spec/fake_spec.rb
rspex-0.0.4 fake/gems/fakegem-1.0.0/spec/fake_spec.rb
rspex-0.0.2 fake/gems/fakegem-1.0.0/spec/fake_spec.rb
rspex-0.0.1 fake/gems/fakegem-1.0.0/spec/fake_spec.rb