Skip to content

Commit ac65276

Browse files
committed
Fixed tests
1 parent 1161327 commit ac65276

File tree

9 files changed

+26
-20
lines changed

9 files changed

+26
-20
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# reactify
22

3-
[![Build Status](https://travis-ci.org/outr/reactify.svg?branch=master)](https://travis-ci.org/outr/reactify)
4-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/759324d19db5496dbd9867b4a113c806)](https://www.codacy.com/app/matthicks/reactify?utm_source=github.com&utm_medium=referral&utm_content=outr/reactify&utm_campaign=Badge_Grade)
5-
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/759324d19db5496dbd9867b4a113c806)](https://www.codacy.com/app/matthicks/reactify?utm_source=github.com&utm_medium=referral&utm_content=outr/reactify&utm_campaign=Badge_Coverage)
3+
[![CI](https://github.com/outr/reactify/actions/workflows/ci.yml/badge.svg)](https://github.com/outr/reactify/actions/workflows/ci.yml)
64
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/outr/reactify)
75
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.outr/reactify_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.outr/reactify_2.12)
86
[![Latest version](https://index.scala-lang.org/outr/reactify/reactify/latest.svg)](https://index.scala-lang.org/outr/reactify)

reactify/src/test/scala/test/BindingSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify._
56
import reactify.bind.Binding
67

78
import scala.language.implicitConversions
89

9-
class BindingSpec extends Spec {
10+
class BindingSpec extends AnyWordSpec with Matchers {
1011
"Bindings" when {
1112
"dealing with a simple binding" should {
1213
val a = Var[String]("a")

reactify/src/test/scala/test/ChannelSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify.Channel
56

67
import scala.language.implicitConversions
78

8-
class ChannelSpec extends Spec {
9+
class ChannelSpec extends AnyWordSpec with Matchers {
910
"Channels" should {
1011
"notify when changed" in {
1112
var changes = 0

reactify/src/test/scala/test/DepSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify._
56

67
import scala.collection.mutable.ListBuffer
78
import scala.language.implicitConversions
89

9-
class DepSpec extends Spec {
10+
class DepSpec extends AnyWordSpec with Matchers {
1011
"Deps" should {
1112
val width: Var[Double] = Var(0.0)
1213

reactify/src/test/scala/test/DepSpecialSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify._
56

67
import scala.language.implicitConversions
78

8-
class DepSpecialSpec extends Spec {
9+
class DepSpecialSpec extends AnyWordSpec with Matchers {
910
"Deps Special Use-Cases" when {
1011
"combining Ints" should {
1112
"do simple addition" in {

reactify/src/test/scala/test/TransactionSpec.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify.Var
56
import reactify.transaction.Transaction
7+
68
import scala.language.implicitConversions
79

8-
class TransactionSpec extends Spec {
10+
class TransactionSpec extends AnyWordSpec with Matchers {
911
"Transactions" should {
1012
"support undoing" in {
1113
val v = Var("One")

reactify/src/test/scala/test/TriggerSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify.Trigger
56

67
import scala.language.implicitConversions
78

8-
class TriggerSpec extends Spec {
9+
class TriggerSpec extends AnyWordSpec with Matchers {
910
"Triggers" should {
1011
"handle simple invocations" in {
1112
val t = Trigger()

reactify/src/test/scala/test/ValSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify._
56

67
import scala.language.implicitConversions
78

8-
class ValSpec extends Spec {
9+
class ValSpec extends AnyWordSpec with Matchers {
910
"Vals" should {
1011
"contain the proper value" in {
1112
val v = Val(5)

reactify/src/test/scala/test/VarSpec.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
package test
22

3-
import testy._
3+
import org.scalatest.matchers.should.Matchers
4+
import org.scalatest.wordspec.AnyWordSpec
45
import reactify._
56
import reactify.group.VarGroup
67

78
import scala.collection.mutable.ListBuffer
8-
99
import scala.language.implicitConversions
1010

11-
class VarSpec extends Spec {
11+
class VarSpec extends AnyWordSpec with Matchers {
1212
lazy val lazyDouble: Var[Double] = Var(0.0)
1313

1414
"Vars" should {

0 commit comments

Comments
 (0)