Sha256: b70a4bdfc07fb58f583ac5081cefa7d74150577d7ca2986173e9e9b49e8aa2e7

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 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 arguments 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

1 entries across 1 versions & 1 rubygems

Version Path
rspex-0.0.6 fake/gems/fakegem-1.0.0/spec/fake_spec.rb