Sha256: 886e670b1a0506c83d162610b7f3a9dae16a7cbce1f08658e0269510ef12ccb8

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

RSpec.describe 'Tautologies' do
  before do
    @one = 1
  end

  it "keeps @one's content coherent" do
    expect(@one).to eq(1)
  end

  xit "is 5" do
    expect(2+2).to eq(5)
  end

  it 'is 4' do
    expect(1*4).to eq(4)
    expect("4".to_i).to eq(4)
    expect("4000"[0]).to eq(4.to_s)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-rspec-0.7.0.rc.1 spec-opal-passing/tautology_spec.rb