Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/java_integration/scala/singleton_spec.rb
Original file line number Diff line number Diff line change
@@ -5,17 +5,17 @@

describe "A Scala singleton" do
describe "shadowed by a Scala class" do
it "defines class methods from the singleton" do
it "defines class methods from the singleton", pending: true do
expect(ScalaSingleton.hello).to eq("Hello")
end

it "defines instance methods from the class" do
expect(ScalaSingleton.new.hello).to eq("Goodbye")
end
end

describe "shadowed by a Scala trait" do
it "defines class methods from the singleton" do
it "defines class methods from the singleton", pending: true do
expect(ScalaSingletonTrait.hello).to eq("Hello")
end
end

0 comments on commit 949216a

Please sign in to comment.