mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Run smoke test for nightly
This commit is contained in:
parent
ce7feb8f0f
commit
670dd7f062
9 changed files with 9 additions and 9 deletions
|
@ -66,7 +66,7 @@ nightly:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- shards --ignore-crystal-version
|
- shards --ignore-crystal-version
|
||||||
- crystal spec --error-on-warnings --junit_output=.
|
- crystal spec --error-on-warnings --junit_output=. --tag smoke spec/spectator/dsl/
|
||||||
- crystal tool format --check
|
- crystal tool format --check
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../spec_helper"
|
require "../spec_helper"
|
||||||
|
|
||||||
Spectator.describe Spectator do
|
Spectator.describe Spectator, :smoke do
|
||||||
describe "aggregate_failures" do
|
describe "aggregate_failures" do
|
||||||
it "captures multiple failed expectations" do
|
it "captures multiple failed expectations" do
|
||||||
expect do
|
expect do
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../spec_helper"
|
require "../spec_helper"
|
||||||
|
|
||||||
Spectator.describe Spectator do
|
Spectator.describe Spectator, :smoke do
|
||||||
context "consice syntax" do
|
context "consice syntax" do
|
||||||
describe "provided group with a single assignment" do
|
describe "provided group with a single assignment" do
|
||||||
provided x = 42 do
|
provided x = 42 do
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../spec_helper"
|
require "../spec_helper"
|
||||||
|
|
||||||
Spectator.describe Spectator do
|
Spectator.describe Spectator, :smoke do
|
||||||
it "supports custom expectation messages" do
|
it "supports custom expectation messages" do
|
||||||
expect do
|
expect do
|
||||||
expect(false).to be_true, "paradox!"
|
expect(false).to be_true, "paradox!"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../spec_helper"
|
require "../spec_helper"
|
||||||
|
|
||||||
Spectator.describe Spectator do
|
Spectator.describe Spectator, :smoke do
|
||||||
let(current_example) { ::Spectator::Example.current }
|
let(current_example) { ::Spectator::Example.current }
|
||||||
subject(location) { current_example.location }
|
subject(location) { current_example.location }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../spec_helper"
|
require "../spec_helper"
|
||||||
|
|
||||||
Spectator.describe "Spec metadata" do
|
Spectator.describe "Spec metadata", :smoke do
|
||||||
let(interpolation) { "string interpolation" }
|
let(interpolation) { "string interpolation" }
|
||||||
|
|
||||||
it "supports #{interpolation}" do |example|
|
it "supports #{interpolation}" do |example|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class Base; end
|
||||||
|
|
||||||
module SomeModule; end
|
module SomeModule; end
|
||||||
|
|
||||||
Spectator.describe "Subject" do
|
Spectator.describe "Subject", :smoke do
|
||||||
subject { Base.new }
|
subject { Base.new }
|
||||||
|
|
||||||
context "nested" do
|
context "nested" do
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../../../spec_helper"
|
require "../../../spec_helper"
|
||||||
|
|
||||||
Spectator.describe "Double DSL" do
|
Spectator.describe "Double DSL", :smoke do
|
||||||
context "specifying methods as keyword args" do
|
context "specifying methods as keyword args" do
|
||||||
double(:test, foo: "foobar", bar: 42)
|
double(:test, foo: "foobar", bar: 42)
|
||||||
subject(dbl) { double(:test) }
|
subject(dbl) { double(:test) }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "../../../spec_helper"
|
require "../../../spec_helper"
|
||||||
|
|
||||||
Spectator.describe "Stub DSL" do
|
Spectator.describe "Stub DSL", :smoke do
|
||||||
double(:foobar, foo: 42, bar: "baz") do
|
double(:foobar, foo: 42, bar: "baz") do
|
||||||
stub abstract def other : String
|
stub abstract def other : String
|
||||||
stub abstract def null : Nil
|
stub abstract def null : Nil
|
||||||
|
|
Loading…
Reference in a new issue