Skip to content

Commit

Permalink
GRAILS-10853 - fix broken tests to be consistent with actual expectat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
Jeff Scott Brown committed Dec 2, 2013
1 parent 500a276 commit 6bd8c1a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import org.grails.databinding.errors.BindingError
import org.grails.databinding.events.DataBindingListenerAdapter
import org.springframework.context.support.StaticMessageSource

import spock.lang.Ignore
import spock.lang.Issue
import spock.lang.Specification

Expand Down Expand Up @@ -547,11 +546,9 @@ class GrailsWebDataBinderSpec extends Specification {
team.members.betsy.name == 'Sarah Elizabeth Brown'
}

@Ignore
void 'Test binding to Set with subscript'() {
given:
def pub = new Publisher()
pub.addToAuthors(name: 'Author One')

when:
binder.bind pub, new SimpleMapDataBindingSource(['authors[0]': [name: 'Author Uno'], 'authors[1]': [name: 'Author Dos']])
Expand Down Expand Up @@ -1004,7 +1001,6 @@ class GrailsWebDataBinderSpec extends Specification {
obj.listOfStrings == ['One', 'Two', 'Three']
}

@Ignore
void 'Test one to many list binding with nested subscript operator can insert to empty index of List'() {
when:
def author = new AssociationBindingAuthor(name: "William Gibson").save()
Expand Down Expand Up @@ -1360,6 +1356,7 @@ class AssociationBindingBook {
class AssociationBindingAuthor {
String name
static hasMany = [books: AssociationBindingBook]
List books
}

@Entity
Expand Down

0 comments on commit 6bd8c1a

Please sign in to comment.