Sha256: e609cc7d8e17396ffa98ee0eed00e4621dad0d32ceb4ec435a386498cf61e475

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

require 'rubygems'
require 'shoulda'

class FixtureShouldaTest < Test::Unit::TestCase
  context "fixture test with shoulda" do
    should "do something 1" do
      puts "does something 1"
    end

    should "do something 2" do
      puts "does something 2"
    end

    context "I am a context" do
      should "run this whole context" do
        puts "context 1"
      end

      should "be run this whole context" do
        puts "context 2"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
btakita-focused-test-0.4.0 spec/fixtures/fixture_shoulda.rb
focused-test-0.6.0 spec/fixtures/fixture_shoulda.rb
focused-test-0.5.0 spec/fixtures/fixture_shoulda.rb
focused-test-0.4.0 spec/fixtures/fixture_shoulda.rb