Sha256: dd40244f22ac74f92aa6b729f9fc347638aba74f7c722e54d4b44e6108967636

Contents?: true

Size: 818 Bytes

Versions: 1

Compression:

Stored size: 818 Bytes

Contents

require 'spec_helper'

describe "Inter::Actable Class" do
  before :all do
    @article1 = Article.create!
    @article2 = Article.create!
    @article3 = Article.create!

    @article1.is_published!
    @article1.isnt_published!

    @article2.is_published!
  end

  describe "booleans" do
    pending ".are_*"
    pending ".arent_*"
    pending ".are_not_*"

    pending ".are_*_and_*"
    pending ".arent_*_and_are_*"
    pending ".are_*_and_are_not_*"
  end

  describe "complex values" do
    pending ".are *implicit hash"
    pending ".are *explicit hash"
  end

  describe "history" do
    pending ".history *string"
    pending ".history *symbol"
    pending ".history *implicit array"
    pending ".history *explicit array"
    pending ".history *implicit hash"
    pending ".history *explicit hash"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inter-0.0.1 spec/class_spec.rb